<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "" "">
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:w="http://www.apusic.com/jsf/widget" xmlns:layout="http://www.apusic.com/jsf/layout"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:ajax="http://www.apusic.com/jsf/ajax"
	renderKitId="AJAX">
	<w:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<w:stylesheet src="/resources/css/style.css" />
	</w:head>
	<w:page title="#{label.createInvoice_title}}">
<w:form>
		<layout:panelGrid columns="4" cellpadding="0" cellspacing="0" styleClass="form" columnClasses="formLabel,formItem">
		
				    <layout:cell colspan="1" rowspan="1">
						<h:outputLabel value="收货单位／人：" for="consigneeBox"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<w:combo id="consigneeBox"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<h:outputLabel value="托运单位／人：" for="consignerBox"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<w:combo id="consignerBox"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<h:outputLabel value="地址：" for="consigneeAddress"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<w:textField id="consigneeAddress"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<h:outputLabel value="地址：" for="consignerAddress"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<w:textField id="consignerAddress"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<h:outputLabel value="电话：" for="consigneeTel"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<w:textField id="consigneeTel"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<h:outputLabel value="电话：" for="consignerTel"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<w:textField id="consignerTel"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<h:outputLabel value="手机：" for="consigneePhone"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<w:textField id="consigneePhone"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<h:outputLabel value="手机：" for="consignerPhone"/>
					</layout:cell>
					<layout:cell colspan="1" rowspan="1">
						<w:textField id="consignerPhone"/>
					</layout:cell>

			<layout:cell colspan="4">
				<w:editDataGrid paged="true" styleClass="centerGrid" id="cargoGrid" toolBarPosition="both" width="800" height="400" rows="10">
					<w:outputColumn id="type" header="类型">
						<w:textField id="typeEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="name" header="品名">
						<w:textField id="nameEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="pack" header="包装">
						<w:textField id="packEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="qty" header="件数">
						<w:textField id="qtyEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="height" header="重量">
						<w:textField id="heightEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="unit" header="单位">
						<w:textField id="unitEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="volume" header="体积m3">
						<w:textField id="volumeEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="transFee" header="运费">
						<w:textField id="transFeeEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="insure" header="投保">
						<w:textField id="insureEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="insureValue" header="投保价值">
						<w:textField id="insureValueEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="insureFee" header="保费">
						<w:textField id="insureFeeEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="value" header="申明价值">
						<w:textField id="valueEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="packFee" header="包装费">
						<w:textField id="packFeeEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="tihuoFee" header="提货费">
						<w:textField id="tihuoFeeEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="songhuoFee" header="送货费">
						<w:textField id="songhuoFeeEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="middleFee" header="中转费">
						<w:textField id="middleFeeEdit"></w:textField>
					</w:outputColumn>
					<w:outputColumn id="otherFee" header="其他费用">
						<w:textField id="otherFeeEdit"></w:textField>
					</w:outputColumn>

                    <w:toolBar target="cargoGrid">
						<w:button label="#{label.button_add}" image="/quick56/resources/img/new.gif" id="add" />
						<w:separator />
						<w:button label="编辑" image="/quick56/resources/img/save.gif" id="edit" />
						<w:separator />
						<w:button label="#{label.button_delete}" image="/quick56/resources/img/delete.gif" id="delete" />
					</w:toolBar>
					<w:pagingToolbar for="cargoGrid" target="cargoGrid" />
				</w:editDataGrid>
			</layout:cell>
			
		</layout:panelGrid>
		</w:form>
	</w:page>
</f:view>